import 'package:ecy_app_flutter/routes/consignment/model/ConsignReply.dart';
import 'package:json_annotation/json_annotation.dart';

import '../../my/model/messgae/MessageVo.dart';
import '../../my/model/messgae/ProductInfo.dart';
import '../../my/model/messgae/SessionBaseInfo.dart';

part 'ChatSessionDetailVo.g.dart';

@JsonSerializable()
class ChatSessionDetailVo {
  ChatSessionDetailVo();

  SessionBaseInfo? baseInfo;
  ProductInfo? productInfo;
  List<MessageVo>? messages;

  factory ChatSessionDetailVo.fromJson(Map<String,dynamic> json) => _$ChatSessionDetailVoFromJson(json);

  Map<String, dynamic> toJson() => _$ChatSessionDetailVoToJson(this);

}
